//
//  COCOAFANViewController.h
//  CocoaFan
//
//  Created by Chen Xianan on 2009-02-25.
//  Copyright 2009 realazy.org All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "AppController.h"

extern NSString * const COCOAFANReplyNotification;
extern NSString * const COCOAFANForwardNotification;
extern NSString * const COCOAFANPmsgNotification;
extern NSString * const COCOAFANDeleteNotification;

@class COCOAFANBubbleView;

@interface COCOAFANViewController : NSViewController {
	COCOAFANBubbleView *bubbleView;
	NSTextField *statusField;
	BOOL selected;
	NSDictionary *statusContent;
}

@property (retain, readonly) IBOutlet COCOAFANBubbleView *bubbleView;
@property (retain, readonly) IBOutlet NSTextField *statusField;
@property (assign, getter=isSelected) BOOL selected;
@property (retain) NSDictionary *statusContent;

- (IBAction)reply:(id)sender;
- (IBAction)pmsg:(id)sender;
- (IBAction)forward:(id)sender;
- (IBAction)delete:(id)sender;
- (IBAction)openMessageInBrowser:(id)sender;
- (IBAction)openProfileInBrowser:(id)sender;

@end
